<div class="floatL leftBlock" >
    <?php if ($reviews) : ?>
        <h3>Отзывы</h3><br />
	<?php foreach ($reviews as $review) : ?>
	    <div class="recordRow">
		<a href="<?php echo $this->createUrl('profile/view', array('id' => $review->getUser()->getId())); ?>"><img src="<?php echo $review->getUser()->getAvatar(); ?>" alt="<?php echo $review->getUser()->getProfileName(); ?>" class="floatL userPic radius5"/></a>		
		<a href="<?php echo CHtml::normalizeUrl($this->createUrl('review/view', array('id' => $review->getId(), 'url' => $review->getDbData('url')))); ?>" class="recordTitle"><?php echo $review->title; ?></a><br />
		<?php echo CTruncate::trunc($review->content); ?>
		<br />
		<div class="clear padTop10"></div>
		<div class="rowInfo overHidden">
		    <div class="floatR">
			<div class="floatL margRight10"><i>Оценка: <font color="<?php echo ($review->user_rating >= 3 ? "green" : "red"); ?>"><?php echo $review->user_rating; ?></font></i></div>
			<div class="floatL">
			    <img src="<?php echo Yii::app()->theme->baseUrl ?>/images/icons/photo_marker<?php echo ($review->has_image ? '' : '_unactive'); ?>.png" class="marker "/>
			    <img src="<?php echo Yii::app()->theme->baseUrl ?>/images/icons/video_marker<?php echo ($review->has_video ? '' : '_unactive'); ?>.png" class="marker "/>
			    <img src="<?php echo Yii::app()->theme->baseUrl ?>/images/icons/map_marker<?php echo ($review->has_map ? '' : '_unactive'); ?>.png" class="marker "/>
			</div>
		    </div>

		</div>
	    </div>
	    <hr/>
	<?php endforeach; ?>
        <div class="clear"></div>
        <div class="padTop10"></div>
        <div class="taCenter">
	    <?php $this->widget('CLinkPager', array('pages' => $pager, 'cssFile' => false, 'header' => '', 'firstPageLabel' => 'Первая', 'nextPageLabel' => 'Следующая', 'prevPageLabel' => 'Предыдущая', 'lastPageLabel' => 'Последняя')); ?>
        </div>
    <?php endif; ?>
</div>